Options
The only option that is specific to PAP is the open retry option, which is defined as following:
#define PAP_OPT_OPENRETRY0x2120 /* PAP open retry count */This option, used with theOTConnect
provider function, forces PAP to retry opening a connection a specific number of times before failing.In order to use any option with PAP, you must indicate which protocol the option is intended for. To do this, you use a constant for the PAP protocol in the
level
field of theTOption
structure when you specify an option.
#define ATK_PAP 'PAP 'With PAP, you can also use the genericOPT_ENABLEEOM
,OPT_CHECKSUM
andOPT_SERVERSTATUS
options, which are described in "Specifying PAP Options".